.demo51 {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;

  div {
    width: 100%;
    height: 100%;
    background: #344966;
    transform: perspective(300px);
    transform-style: preserve-3d;
    animation: demo51 2s linear infinite;
    animation-play-state: paused;
  }

  @keyframes demo51 {
    0% {
      transform: perspective(300px) rotateX(0deg) rotateY(0deg);
    }

    25% {
      transform: perspective(300px) rotateX(180deg) rotateY(0deg);
    }

    50% {
      transform: perspective(300px) rotateX(180deg) rotateY(180deg);
    }

    75% {
      transform: perspective(300px) rotateX(0deg) rotateY(180deg);
    }

    100% {
      transform: perspective(300px) rotateX(0deg) rotateY(360deg);
    }
  }

  &.active {
    div {
      animation-play-state: running;
    }
  }
}

.demo52 {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;

  div {
    position: absolute;

    &:nth-child(1) {
      width: 100px;
      height: 100px;
      border: 4px solid #344966;
      border-radius: 50%;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);

      // 圆盘中间，利用伪元素形成原点，遮盖两个针的连接点
      &::before {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: #344966;
      }
    }

    &:nth-child(2) {
      width: 4px;
      height: 40px;
      border-radius: 2px;
      background: #8A817C;
      left: 50%;
      bottom: 50%;
      transform: translateX(-50%);
      // 设定旋转的原点
      transform-origin: bottom center;
      animation: demo52 1s linear infinite;
      animation-play-state: paused;
    }

    &:nth-child(3) {
      width: 5px;
      height: 30px;
      border-radius: 4px;
      background: #A994BD;
      left: 50%;
      bottom: 50%;
      transform: translateX(-50%);
      transform-origin: bottom center;
      // 完成同一个动画，设置不同的时间，达到不同速率的效果
      animation: demo52 24s linear infinite;
      animation-play-state: paused;
    }
  }

  @keyframes demo52 {
    100% {
      transform: translateX(-50%) rotate(360deg);
    }
  }

  &.active {
    div {
      animation-play-state: running;
    }
  }
}

.demo53 {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;

  div {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) perspective(300px);
    // 只需要显示上边的三角
    border-top: 50px solid #344966;
    border-right: 50px solid transparent;
    // 设置下边框的厚度为0，这样整体元素的高度就是上边框的厚度，可以做到居中旋转
    border-bottom: 0 solid transparent;
    border-left: 50px solid transparent;
    transform-style: preserve-3d;
    animation: demo53 2s linear infinite;
    animation-play-state: paused;
  }

  @keyframes demo53 {
    0% {
      transform: translate(-50%, -50%) perspective(300px) rotateX(0deg) rotateY(0deg);
    }

    25% {
      transform: translate(-50%, -50%) perspective(300px) rotateX(180deg) rotateY(0deg);
    }

    50% {
      transform: translate(-50%, -50%) perspective(300px) rotateX(180deg) rotateY(180deg);
    }

    75% {
      transform: translate(-50%, -50%) perspective(300px) rotateX(0deg) rotateY(180deg);
    }

    100% {
      transform: translate(-50%, -50%) perspective(300px) rotateX(0deg) rotateY(360deg);
    }
  }

  &.active {
    div {
      animation-play-state: running;
    }
  }
}

.demo54 {
  position: absolute;
  width: 100%;
  height: 40px;
  left: 0;
  top: 50%;
  transform: translateY(-50%);

  div {
    width: 20px;
    height: 20px;
    border-radius: 0;
    transform: rotate(0deg);
    background: #344966;
    position: absolute;

    &:nth-child(1) {
      left: 55px;
      top: 0;
      animation: demo54_1 1.5s linear infinite;
      animation-play-state: paused;
    }

    &:nth-child(2) {
      left: 75px;
      top: 0;
      animation: demo54_2 1.5s linear infinite;
      animation-play-state: paused;
    }

    &:nth-child(3) {
      left: 55px;
      top: 20px;
      animation: demo54_3 1.5s linear infinite;
      animation-play-state: paused;
    }

    &:nth-child(4) {
      left: 75px;
      top: 20px;
      animation: demo54_4 1.5s linear infinite;
      animation-play-state: paused;
    }
  }

  @keyframes demo54_1 {
    0% {
      left: 55px;
      top: 0;
      border-radius: 0;
      background: #344966;
      transform: rotate(0deg);
    }

    50% {
      left: 10px;
      top: 10px;
      border-radius: 50%;
      background: #D8CA96;
      transform: rotate(180deg);
    }

    80%,
    100% {
      left: 55px;
      top: 0;
      border-radius: 0;
      background: #344966;
      transform: rotate(360deg);
    }
  }

  @keyframes demo54_2 {
    0% {
      left: 75px;
      top: 0;
      border-radius: 0;
      background: #344966;
      transform: rotate(0deg);
    }

    50% {
      left: 120px;
      top: 10px;
      border-radius: 50%;
      background: #A994BD;
      transform: rotate(-180deg);
    }

    80%,
    100% {
      left: 75px;
      top: 0;
      border-radius: 0;
      background: #344966;
      transform: rotate(-360deg);
    }
  }

  @keyframes demo54_3 {
    0% {
      left: 55px;
      top: 20px;
      border-radius: 0;
      background: #344966;
      transform: rotate(0deg);
    }

    50% {
      left: 10px;
      top: 10px;
      border-radius: 50%;
      background: #CEF9F2;
      transform: rotate(-180deg);
    }

    80%,
    100% {
      left: 55px;
      top: 20px;
      border-radius: 0;
      background: #344966;
      transform: rotate(-360deg);
    }
  }

  @keyframes demo54_4 {
    0% {
      left: 75px;
      top: 20px;
      border-radius: 0;
      background: #344966;
      transform: rotate(0deg);
    }

    50% {
      left: 120px;
      top: 10px;
      border-radius: 50%;
      background: #655B7C;
      transform: rotate(180deg);
    }

    80%,
    100% {
      left: 75px;
      top: 20px;
      border-radius: 0;
      background: #344966;
      transform: rotate(360deg);
    }
  }

  &.active {
    div {
      animation-play-state: running;
    }
  }
}

.demo55 {
  position: absolute;
  width: 20px;
  height: 20px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);

  div {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #344966;
    position: absolute;
    top: 0;
    animation: demo55 1s linear infinite;
    animation-play-state: paused;

    &:nth-child(1) {
      left: -200%;
      animation-delay: -0.8s;
    }

    &:nth-child(2) {
      left: -100%;
      animation-delay: -0.6s;
    }

    &:nth-child(3) {
      left: 0;
      animation-delay: -0.4s;
    }

    &:nth-child(4) {
      left: 100%;
      animation-delay: -0.2s;
    }

    &:nth-child(5) {
      left: 200%;
      animation-delay: -0.0s;
    }
  }

  @keyframes demo55 {
    0% {
      background: #344966;
      top: 0;
      box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
    }

    50% {
      background: #A994BD;
      top: -80%;
      box-shadow: 0px 20px 5px rgba(0, 0, 0, 0.3);
    }

    100% {
      background: #344966;
      top: 0;
      box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
    }
  }

  &.active {
    div {
      animation-play-state: running;
    }
  }
}

.demo56 {
  position: absolute;
  width: 60px;
  height: 60px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);

  div {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #344966;
    transform: scale(1, 1);

    &:nth-child(1) {
      left: 0;
      top: 0;
      animation: demo56_1 1s linear infinite;
      animation-play-state: paused;
    }

    &:nth-child(2) {
      left: 20px;
      top: 0;
      animation: demo56_2 1s linear infinite;
      animation-play-state: paused;
    }

    &:nth-child(3) {
      left: 40px;
      top: 0;
      animation: demo56_3 1s linear infinite;
      animation-play-state: paused;
    }

    &:nth-child(4) {
      left: 0;
      top: 20px;
      animation: demo56_2 1s linear infinite;
      animation-play-state: paused;
    }

    &:nth-child(5) {
      left: 20px;
      top: 20px;
      animation: demo56_3 1s linear infinite;
      animation-play-state: paused;
    }

    &:nth-child(6) {
      left: 40px;
      top: 20px;
      animation: demo56_4 1s linear infinite;
      animation-play-state: paused;
    }

    &:nth-child(7) {
      left: 0;
      top: 40px;
      animation: demo56_3 1s linear infinite;
      animation-play-state: paused;
    }

    &:nth-child(8) {
      left: 20px;
      top: 40px;
      animation: demo56_4 1s linear infinite;
      animation-play-state: paused;
    }

    &:nth-child(9) {
      left: 40px;
      top: 40px;
      animation: demo56_5 1s linear infinite;
      animation-play-state: paused;
    }
  }

  @keyframes demo56_1 {
    0% {
      transform: scale(1);
    }

    60% {
      transform: scale(0.2);
    }

    100% {
      transform: scale(1);
    }
  }

  @keyframes demo56_2 {

    0%,
    20% {
      transform: scale(1);
    }

    60% {
      transform: scale(0.2);
    }

    100% {
      transform: scale(1);
    }
  }

  @keyframes demo56_3 {

    0%,
    40% {
      transform: scale(1);
    }

    80% {
      transform: scale(0.2);
    }

    100% {
      transform: scale(1);
    }
  }

  @keyframes demo56_4 {

    0%,
    60% {
      transform: scale(1);
    }

    80% {
      transform: scale(0.2);
    }

    100% {
      transform: scale(1);
    }
  }

  @keyframes demo56_5 {

    0%,
    80% {
      transform: scale(1);
    }

    90% {
      transform: scale(0.5);
    }

    100% {
      transform: scale(1);
    }
  }

  &.active {
    div {
      animation-play-state: running;
    }
  }
}

.demo57 {
  position: absolute;
  width: 20px;
  height: 20px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);

  div {
    width: 20px;
    height: 20px;
    background: #344966;
    position: absolute;
    left: 0;
    top: 0;

    &:nth-child(1) {
      animation: demo57_1 2s linear infinite;
      animation-play-state: paused;
      animation-delay: 0s;
    }

    &:nth-child(2) {
      animation: demo57_2 2s linear infinite;
      animation-play-state: paused;
      animation-delay: 0.1s;
    }

    &:nth-child(3) {
      animation: demo57_3 2s linear infinite;
      animation-play-state: paused;
      animation-delay: 0.2s;
    }

    &:nth-child(4) {
      animation: demo57_4 2s linear infinite;
      animation-play-state: paused;
      animation-delay: 0.3s;
    }

    &:nth-child(5) {
      animation: demo57_5 2s linear infinite;
      animation-play-state: paused;
      animation-delay: 0.4s;
    }

    &:nth-child(6) {
      animation: demo57_6 2s linear infinite;
      animation-play-state: paused;
      animation-delay: 0.5s;
    }

    &:nth-child(7) {
      animation: demo57_7 2s linear infinite;
      animation-play-state: paused;
      animation-delay: 0.6s;
    }

    &:nth-child(8) {
      animation: demo57_8 2s ease-in-out infinite;
      animation-play-state: paused;
      animation-delay: 0.7s;
    }

    &:nth-child(9) {
      width: 60px;
      height: 60px;
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%) scale(1);
      animation: demo57_9 2s linear infinite;
      animation-play-state: paused;
      animation-delay: 0.5s;
    }
  }

  @keyframes demo57_1 {
    50% {
      left: -200%;
      top: -200%;
    }

  }

  @keyframes demo57_2 {
    50% {
      left: -0;
      top: -200%;
    }

  }

  @keyframes demo57_3 {
    50% {
      left: 200%;
      top: -200%;
    }

  }

  @keyframes demo57_4 {
    50% {
      left: 200%;
      top: 0;
    }

  }

  @keyframes demo57_5 {
    50% {
      left: 200%;
      top: 200%;
    }

  }

  @keyframes demo57_6 {
    50% {
      left: 0;
      top: 200%;
    }

  }

  @keyframes demo57_7 {
    50% {
      left: -200%;
      top: 200%;
    }

  }

  @keyframes demo57_8 {
    50% {
      left: -200%;
      top: 0
    }

  }

  @keyframes demo57_9 {
    50% {
      background: #A893BC;
      transform: translate(-50%, -50%) scale(0.5);
    }

  }

  &.active {
    div {
      animation-play-state: running;
    }
  }
}

.demo58 {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;

  div {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) perspective(300px);
    transform-style: preserve-3d;
    border: 4px solid #344966;


    &:nth-child(1) {
      width: 40px;
      height: 40px;
      animation: demo58_1 2s ease-in-out infinite;
      animation-play-state: paused;
    }

    &:nth-child(2) {
      width: 70px;
      height: 70px;
      animation: demo58_2 2s ease-in-out infinite;
      animation-play-state: paused;
    }

    &:nth-child(3) {
      width: 100px;
      height: 100px;
      animation: demo58_1 2s ease-in-out infinite;
      animation-play-state: paused;
    }
  }

  @keyframes demo58_1 {
    0% {
      transform: translate(-50%, -50%) perspective(300px) rotateX(0deg) rotateY(0deg);
      transform-style: preserve-3d;
    }

    50% {
      transform: translate(-50%, -50%) perspective(300px) rotateX(180deg) rotateY(0deg);
      transform-style: preserve-3d;
    }

    100% {
      transform: translate(-50%, -50%) perspective(300px) rotateX(180deg) rotateY(180deg);
      transform-style: preserve-3d;
    }
  }

  @keyframes demo58_2 {
    0% {
      transform: translate(-50%, -50%) perspective(300px) rotateX(0deg) rotateY(0deg);
      transform-style: preserve-3d;
    }

    50% {
      transform: translate(-50%, -50%) perspective(300px) rotateX(-180deg) rotateY(0deg);
      transform-style: preserve-3d;
    }

    100% {
      transform: translate(-50%, -50%) perspective(300px) rotateX(-180deg) rotateY(-180deg);
      transform-style: preserve-3d;
    }
  }

  &.active {
    div {
      animation-play-state: running;
    }
  }
}

.demo59 {
  position: absolute;
  width: 80px;
  height: 68px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);

  div {
    width: 50px;
    height: 8px;
    background: #344966;
    position: absolute;
    left: 0;
    animation: demo59 1s ease-in-out infinite;
    animation-play-state: paused;

    &:nth-child(1) {
      top: 0;
    }

    &:nth-child(2) {
      top: 20px;
      animation-delay: 0.2s;
    }

    &:nth-child(3) {
      top: 40px;
    }

    &:nth-child(4) {
      top: 60px;
      animation-delay: 0.2s;
    }
  }

  @keyframes demo59 {
    50% {
      left: 30px;
    }

  }

  &.active {
    div {
      animation-play-state: running;
    }
  }
}

.demo60 {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;

  div {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(0deg) scale(1);
    border-top: 4px solid transparent;
    border-right: 4px solid #344966;
    border-bottom: 4px solid #344966;
    border-left: 4px solid transparent;
    border-radius: 50%;
    animation: demo60 2s ease-in-out infinite;
    animation-play-state: paused;

    &:nth-child(1) {
      width: 40px;
      height: 40px;
      animation-delay: -0s;
    }

    &:nth-child(2) {
      width: 60px;
      height: 60px;
      animation-delay: 0.2s;
    }

    &:nth-child(3) {
      width: 80px;
      height: 80px;
      animation-delay: 0.4s;
    }

    &:nth-child(4) {
      width: 100px;
      height: 100px;
      animation-delay: 0.6s;
    }
  }

  @keyframes demo60 {
    50% {
      transform: translate(-50%, -50%) rotate(360deg) scale(0.8);
    }
  }

  &.active {
    div {
      animation-play-state: running;
    }
  }
}